package com.example.demo.collection.arrayList;

import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;

/**
 * @author luowj12
 * @since 2021/4/7 9:00
 */
public class ArrayListTest {

    public static void main(String[] args) {

        List list = new ArrayList<>();


        list.add("1");
        list.add(0,"2");
        list.stream().forEach(v->{
            System.out.println(v);
        });
    }

}
